/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  javax.servlet.http.HttpServletRequest
 *  org.springframework.beans.factory.annotation.Autowired
 *  org.springframework.web.bind.annotation.PostMapping
 *  org.springframework.web.bind.annotation.RequestBody
 *  org.springframework.web.bind.annotation.RequestMapping
 *  org.springframework.web.bind.annotation.RestController
 */
package com.gys.spliteController;

import com.gys.controller.BaseController;
import com.gys.spliteService.RemoteAuditService;
import com.gys.spliteService.data.GetLoginOutData;
import com.gys.spliteService.data.JsonResult;
import com.gys.spliteService.data.RemoteAuditHInData;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value={"/operation/remoteAudit/"})
public class RemoteAuditSpliteController
extends BaseController {
    @Autowired
    private RemoteAuditService remoteAuditService;

    @PostMapping(value={"/addRemoteAudit"})
    public JsonResult addRemoteAudit(HttpServletRequest request, @RequestBody RemoteAuditHInData inData) {
        GetLoginOutData userInfo = this.getSpliteLoginUser();
        this.remoteAuditService.insertRemoteAudit(inData, userInfo);
        return JsonResult.success("", "\u63d0\u793a\uff1a\u4fdd\u5b58\u6210\u529f\uff01");
    }
}

